.toolbarbutton-1,
.toolbarbutton-1:hover{
-moz-appearance:none;
-moz-box-orient:vertical;
min-width:0;
list-style-image:url("chrome://browser/skin/Toolbar.png");
border:none;
background:none;
margin:0 2px!important;
padding:0!important}

.toolbarbutton-1 > .toolbarbutton-icon{
margin:0!important;
padding:0!important}

toolbar[mode="full"] .toolbarbutton-1,
toolbar[mode="full"] .toolbarbutton-menubutton-button{
min-width:57px}

.toolbarbutton-1,
.toolbarbutton-menubutton-button{
padding:0}

.toolbarbutton-1[checked="true"]{
padding:0!important}

toolbar[iconsize="large"][mode="icons"] .toolbarbutton-1:-moz-system-metric(windows-default-theme),
.toolbarbutton-menubutton-button:-moz-system-metric(windows-default-theme){
padding:0!important}

toolbar[iconsize="large"][mode="icons"] .toolbarbutton-1[checked="true"]:-moz-system-metric(windows-default-theme){
padding:0!important}

#unified-back-forward-button,
#unified-back-forward-button *{
border:none!important}

#back-button *,#forward-button{
margin:0!important;
padding:0!important}

toolbar[mode="icons"] #back-button{
-moz-appearance:none;
margin-top:0!important;
margin-right:0!important;
margin-bottom:0!important;
-moz-margin-start:2px!important;
background-color:transparent!important;
border:none;
padding:0!important}

#back-button,toolbar[iconsize="small"][mode="icons"] #back-button,
toolbar[iconsize="large"][mode="icons"] #back-button{
-moz-image-region:rect(0,29px,29px,0)}

#back-button:not([disabled="true"]):hover,
#back-button[buttonover="true"],
toolbar[iconsize="small"][mode="icons"] #back-button:not([disabled="true"]):hover,
toolbar[iconsize="large"][mode="icons"] #back-button:not([disabled="true"]):hover{
-moz-image-region:rect(29px,29px,58px,0)}

#back-button[disabled="true"],
toolbar[iconsize="small"][mode="icons"] #back-button[disabled="true"],
toolbar[iconsize="large"][mode="icons"] #back-button[disabled="true"]{
-moz-image-region:rect(87px,29px,116px,0)}

#back-button:not([disabled="true"]):hover:active,
toolbar[iconsize="small"][mode="icons"] #back-button:not([disabled="true"]):hover:active,
toolbar[iconsize="large"][mode="icons"] #back-button:not([disabled="true"]):hover:active{
-moz-image-region:rect(58px,29px,87px,0)}

toolbar[mode="icons"] #forward-button{
-moz-appearance:none;
margin-top:0!important;
margin-right:0!important;
margin-bottom:0!important;
-moz-margin-end:1px!important;
border:none;
padding:0!important}

#forward-button,
toolbar[iconsize="small"][mode="icons"] #forward-button,
toolbar[iconsize="large"][mode="icons"] #forward-button{
-moz-image-region:rect(0,59px,29px,31px)}

#forward-button:not([disabled="true"]):hover,
#forward-button[buttonover="true"],
toolbar[iconsize="small"][mode="icons"] #forward-button:not([disabled="true"]):hover,
toolbar[iconsize="large"][mode="icons"] #forward-button:not([disabled="true"]):hover{
-moz-image-region:rect(29px,59px,58px,31px)}

#forward-button[disabled="true"],
toolbar[iconsize="small"][mode="icons"] #forward-button[disabled="true"],
toolbar[iconsize="large"][mode="icons"] #forward-button[disabled="true"]{
-moz-image-region:rect(87px,59px,116px,31px)}

#forward-button:not([disabled="true"]):hover:active,
toolbar[iconsize="small"][mode="icons"] #forward-button:not([disabled="true"]):hover:active,
toolbar[iconsize="large"][mode="icons"] #forward-button:not([disabled="true"]):hover:active{
-moz-image-region:rect(58px,59px,87px,31px)}

#back-button > .toolbarbutton-menubarbutton-dropmarker,
#forward-button > .toolbarbutton-menubarbutton-dropmarker{
display:none!important}

toolbar[mode="icons"] #back-forward-dropmarker{
-moz-appearance:none;
background:url("chrome://browser/skin/back-forward.png") 0 0 no-repeat;
width:17px;
margin-top:2px;
margin-left:-8px;
margin-right:3px}

toolbar[mode="icons"] #back-forward-dropmarker:hover{
background-position:0 -29px}

toolbar[mode="icons"] #back-forward-dropmarker[open="true"]{
background-position:0 -58px}

toolbar[mode="icons"] #back-forward-dropmarker[disabled="true"]{
background-position:0 -87px}

toolbar[mode="icons"] #back-forward-dropmarker > image{
display:none!important;
margin:0}

toolbar[mode="icons"] #back-forward-dropmarker > dropmarker{
display:none!important}

#stop-button{
-moz-image-region:rect(0,149px 29px,118px)}

#stop-button:not([disabled="true"]):hover{
-moz-image-region:rect(29px,149px,58px,118px)}

#stop-button:not([disabled="true"]):hover:active{
-moz-image-region:rect(58px,149px,87px,118px)}

#stop-button[disabled="true"]{
-moz-image-region:rect(87px,149px,116px,118px)}

#reload-button{
-moz-image-region:rect(0,89px,29px,58px)}

#reload-button:not([disabled="true"]):hover{
-moz-image-region:rect(29px,89px,58px,58px)}

#reload-button:not([disabled="true"]):hover:active{
-moz-image-region:rect(58px,89px,87px,58px)}

#reload-button[disabled="true"]{
-moz-image-region:rect(87px,89px,115px,58px)}

#home-button{
-moz-image-region:rect(0,119px,29px,88px)}

#home-button:not([disabled="true"]):hover{
-moz-image-region:rect(29px,119px,58px,88px)}

#home-button:not([disabled="true"]):hover:active{
-moz-image-region:rect(58px,119px,87px,88px)}

#downloads-button{
-moz-image-region:rect(0,269px,29px,238px)}

#downloads-button:not([disabled="true"]):hover{
-moz-image-region:rect(29px,269px,58px,238px)}

#downloads-button:not([disabled="true"]):hover:active{
-moz-image-region:rect(58px,269px,87px,238px)}

#history-button{
-moz-image-region:rect(0,299px,29px,268px)}

#history-button:not([disabled="true"]):not([checked="true"]):hover{
-moz-image-region:rect(29px,299px,58px,268px)}

#history-button[checked="true"]{
-moz-image-region:rect(58px,299px,87px,268px)}

#history-button:not([disabled="true"]):not([checked="true"]):hover:active{
-moz-image-region:rect(58px,299px,87px,268px)}

#bookmarks-button{
-moz-image-region:rect(0,179px,29px,148px)}

#bookmarks-button:not([disabled="true"]):not([checked="true"]):hover{
-moz-image-region:rect(29px,179px,58px,148px)}

#bookmarks-button[checked="true"]{
-moz-image-region:rect(58px,179px,87px,148px)}

#bookmarks-button:not([disabled="true"]):not([checked="true"]):hover:active{
-moz-image-region:rect(58px,179px,87px,148px)}

#print-button{
-moz-image-region:rect(0,419px,29px,388px)}

#print-button:not([disabled="true"]):hover{
-moz-image-region:rect(29px,419px,58px,388px)}

#print-button:not([disabled="true"]):hover:active{
-moz-image-region:rect(58px,419px,29px,388px)}

#new-tab-button{
-moz-image-region:rect(0,329px,29px,299px)}

#new-tab-button:not([disabled="true"]):hover{
-moz-image-region:rect(29px,329px,58px,299px)}

#new-tab-button:not([disabled="true"]):hover:active{
-moz-image-region:rect(58px,329px,87px,299px)}

#new-window-button{
-moz-image-region:rect(0,359px,29px,328px)}

#new-window-button:not([disabled="true"]):hover{
-moz-image-region:rect(29px,359px,58px,328px)}

#new-window-button:not([disabled="true"]):hover:active{
-moz-image-region:rect(58px,359px,29px,328px)}

#cut-button{
-moz-image-region:rect(0,239px,29px,208px)}

#cut-button:not([disabled="true"]):hover{
-moz-image-region:rect(29px,239px,58px,208px)}

#cut-button:not([disabled="true"]):hover:active{
-moz-image-region:rect(58px,239px,87px,208px)}

#copy-button{
-moz-image-region:rect(0,209px,29px,179px)}

#copy-button:not([disabled="true"]):hover{
-moz-image-region:rect(29px,209px,58px,179px)}

#copy-button:not([disabled="true"]):hover:active{
-moz-image-region:rect(58px,209px,87px,179px)}

#paste-button{
-moz-image-region:rect(0,389px,29px,359px)}

#paste-button:not([disabled="true"]):hover{
-moz-image-region:rect(29px,389px,58px,359px)}

#paste-button:not([disabled="true"]):hover:active{
-moz-image-region:rect(58px,389px,87px,359px)}

#fullscreen-button{
-moz-image-region:rect(0,449px,29px,418px)}

#fullscreen-button:hover{
-moz-image-region:rect(29px,449px,58px,418px)}

#fullscreen-button:hover:active{
-moz-image-region:rect(58px,449px,87px,418px)}